package com.dxf.sysadmin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dxf.common.utils.ResultJson;
import com.dxf.sysadmin.entity.EvaluteRecord;

import java.util.List;

/**
 * 评价记录 服务类
 */
public interface EvaluteRecordService extends IService<EvaluteRecord> {

    /**
     *学生评教生成
     */
    ResultJson student(Long id,Long tid);

    /**
     *评教数据插入
     */
    ResultJson insertRecord(List<EvaluteRecord> recordList);

    /**
     *教师自评生成
     */
    ResultJson selfTeacher(Long uid, Long tid);

    /**
     *教师互评生成
     */
    ResultJson mutualTeacher(Long uid, Long tid);

    /**
     *室主任评教生成
     */
    ResultJson director(Long uid, Long tid);

    /**
     *系主任评教生成
     */
    ResultJson department(Long uid, Long tid);

    /**
     *判断教师是否自评
     */
    ResultJson selfDecide(Long uid, Long tid);

    /**
     *教师自评查看记录
     */
    ResultJson tSelfResult(Long uid, Long tid);

    /**
     *教师互评查看记录
     */
    ResultJson tMutualResult(Long uid, Long tid, Long id);

    /**
     *室评教查看记录
     */
    ResultJson directorResult(Long uid, Long tid, Long id);

    /**
     *系评教查看记录
     */
    ResultJson departmentResult(Long uid, Long tid, Long id);

    /**
     *学生查看评教记录
     */
    ResultJson studentResult(Long uid, Long tid, Long cid, Long id);

    /**
     *班级学生评教情况
     */
    ResultJson studentSituation(Long cid, Long tid);
}
